package cn.yourkingda.pojo;

import java.util.List;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Many;


public class Employeetype {
	@Column
	@Id
	private int id;
	@Column("employeetype_name")
	private String employeetypename;
	@Column("description")
	private String description;
	@Many(target=Employee.class,field="typeid")
	private List<Employee> employees;
	
	public List<Employee> getEmployees() {
		return employees;
	}
	public void setEmployees(List<Employee> employee) {
		this.employees = employees;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getEmployeetypeName() {
		return employeetypename;
	}
	public void setEmployeetypeName(String employeetypename) {
		this.employeetypename = employeetypename;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	
}
